package com.banshuibao.bsb_android.activity;

import android.os.Bundle;
import android.support.v4.app.FragmentManager;

import com.banshuibao.bsb_android.R;
import com.banshuibao.bsb_android.fragment.OfficeListFragment;

/**
 * Created by zyh on 2017/12/20.
 */

public class OfficeListActivity extends BaseActivity {

    private FragmentManager manager;

    private OfficeListFragment officeListFragment;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_office_list);

        initView();
    }

    private void initView() {
        setTitleText("我所动态");
        manager = getSupportFragmentManager();
        officeListFragment = new OfficeListFragment();
        manager.beginTransaction().add(R.id.fragment, officeListFragment).commit();
    }
}
